#define _CRT_SECURE_NO_WARNINGS 1

#include "SList.h"

int main()
{
	SListNode* pList = NULL;
	SListPushFront(&pList, 8);
	SListPushFront(&pList, 8);
	SListPushFront(&pList, 8);
	SListPushFront(&pList, 8);
	SListPushFront(&pList, 8);
	SListPrint(&pList);
	SListPopFront(&pList);
	SListPopFront(&pList);
	SListPopFront(&pList);
	SListPopFront(&pList);
	SListPopFront(&pList);
	SListPrint(&pList);
	SListNode* findNode = SListFind(&pList, 6);
	if (findNode != NULL)
	{
		printf("%d\n", findNode->data);
	}
	return 0;
}
